import React, { Component } from "react";
import { Text, View } from "react-native";
import CustomHeader from "../../components/CustomHeader";
import { Image } from "react-native-elements";

export class Share extends Component {
  render() {
    return (
      <View>
        <CustomHeader title="分享" />
        <View
          style={{
            marginTop: 100,
            display: "flex",
            justifyContent: "center",
            alignItems: "center"
          }}
        >
          <Image
            source={{ uri: "https://www.pgyer.com/app/qrcode/bHD2" }}
            style={{
              width: 200,
              height: 200
            }}
          />
          <Text
            style={{
              marginTop: 20
            }}
          >
            扫描二维码下载apk
          </Text>
        </View>
      </View>
    );
  }
}

export default Share;
